package org.cerberus.platform.internal;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;


public interface IProtocolHandler {

	String getProtocolID();
	
	IProtocol write(OutputStream out) throws IOException;

	void read(InputStream out, IProtocol callback) throws IOException ;
	
}
